package com.scsj.supermarket.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.scsj.supermarket.R;
import com.scsj.supermarket.bean.ShareProfitBean;

import java.util.List;

/**
   分润账单
 */
public class ShareProfitAdapter extends BaseQuickAdapter<ShareProfitBean,BaseViewHolder>{
    public ShareProfitAdapter( List data) {
        super(R.layout.item_shareprofit, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ShareProfitBean item) {
        helper.setText(R.id.date_tv,item.getDate());
        helper.setText(R.id.issettle_tv,item.getSettlementStatus());
        helper.setText(R.id.money_tv,item.getMoney()+"");
    }
}
